/*
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-04-26     Tian Yiqing  first implementation
 */

#include "drv_usb_core.h"
#include "drv_usb_host.h"
#include "usbh_conf.h"

#define OTG_FS_PORT             1
#define HOST_POWERSW_PORT_RCC   RCU_GPIOB
#define HOST_POWERSW_PORT       GPIOB
#define HOST_POWERSW_VBUS       GPIO_PIN_2

typedef enum
{
    USBH_OK = 0U,
    USBH_BUSY,
    USBH_FAIL,
    USBH_NOT_SUPPORTED,
    USBH_UNRECOVERED_ERROR,
    USBH_SPEED_UNKNOWN_ERROR,
    USBH_APPLY_DEINIT
} usbh_status;
